package bb.lanxing.device.sgdevcie.xpair.uimodel;

import java.util.List;
import kotlin.Metadata;
import kotlin.jvm.internal.Intrinsics;


public final class XPairBoundDeviceListBean {
    private final List<XossBoundedDevice> devices;
    private final boolean is_binded;

    public static /* synthetic */ XPairBoundDeviceListBean copy$default(XPairBoundDeviceListBean xPairBoundDeviceListBean, List list, boolean z, int i, Object obj) {
        if ((i & 1) != 0) {
            list = xPairBoundDeviceListBean.devices;
        }
        if ((i & 2) != 0) {
            z = xPairBoundDeviceListBean.is_binded;
        }
        return xPairBoundDeviceListBean.copy(list, z);
    }

    public final List<XossBoundedDevice> component1() {
        return this.devices;
    }

    public final boolean component2() {
        return this.is_binded;
    }

    public final XPairBoundDeviceListBean copy(List<XossBoundedDevice> devices, boolean z) {
        Intrinsics.checkNotNullParameter(devices, "devices");
        return new XPairBoundDeviceListBean(devices, z);
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof XPairBoundDeviceListBean)) {
            return false;
        }
        XPairBoundDeviceListBean xPairBoundDeviceListBean = (XPairBoundDeviceListBean) obj;
        return Intrinsics.areEqual(this.devices, xPairBoundDeviceListBean.devices) && this.is_binded == xPairBoundDeviceListBean.is_binded;
    }

    public int hashCode() {
        int hashCode = this.devices.hashCode() * 31;
        boolean z = this.is_binded;
        if (z) {
            z = true;
        }
        int i = z ? 1 : 0;
        int i2 = z ? 1 : 0;
        return hashCode + i;
    }

    public String toString() {
        return "XPairBoundDeviceListBean(devices=" + this.devices + ", is_binded=" + this.is_binded + ')';
    }

    public XPairBoundDeviceListBean(List<XossBoundedDevice> devices, boolean z) {
        Intrinsics.checkNotNullParameter(devices, "devices");
        this.devices = devices;
        this.is_binded = z;
    }

    public final List<XossBoundedDevice> getDevices() {
        return this.devices;
    }

    public final boolean is_binded() {
        return this.is_binded;
    }
}
